package com.kuang.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class toPage {

    @RequestMapping("/register")
    public String register(){
        return "/jsp/user/register";
    }

    @RequestMapping("/goLogin")
    public String goLogin(){
        return "/login";
    }

    @RequestMapping("/index")
    public String login(){
        return "/jsp/index";
    }
}
